﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NUS.ISS.ARS.BusinessComponent
{
    public class BaseBC
    {
        bool _valid = true;
        protected bool Valid
        {
            get { return _valid; }
        }

        string _errorMessage = string.Empty;
        protected string ErrorMessage
        {
            get { return _errorMessage; }
        }

        protected void SetError(string msg)
        {
            _errorMessage += msg + Environment.NewLine;
            _valid = false;
        }
    }
}
